package com.wego.bean;

import com.wego.common.utils.JsonUtil;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @className: LogBean
 * @description: 日志Bean
 * @author: Li Chuanwei
 * @date: 2023/07/07 12:50
 * @Company: Copyright [日期] by [作者或个人]
 **/

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LogBean {
    private String who;
    private LocalDateTime time;
    private String ip;
    private String done;
    private String params;
    private Object result;

    @Override
    public String toString() {
        return JsonUtil.obj2String(this);
    }
}
